package cn.springboot.erp.service;

import cn.springboot.erp.commons.QueryParams;
import cn.springboot.erp.commons.ResponseResult;
import cn.springboot.erp.entity.Suppliers;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

/**
* @author asus
* @description 针对表【suppliers】的数据库操作Service
* @createDate 2024-05-07 16:01:07
*/
public interface SuppliersService extends IService<Suppliers> {

    ResponseResult listPage(QueryParams<Suppliers> queryParams);

    ResponseResult importCategories(MultipartFile file) throws Exception;

    void exportSuppliers(Map<String, Object> params, HttpServletResponse response) throws IOException;
}
